#define _CRT_SECURE_NO_WARNINGS 1
int singleNumber(int* nums, int numsSize) {
    int a = 0;
    for (int i = 0; i < numsSize; i++)
    {
        a = a ^ nums[i];
    }
    return a;

}